package com.xyy.saas.payment.cores.bo;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * @date 2020/4/8 15:41
 */
@Getter
@Setter
public class OrderWithdrawalBo implements Serializable {
    /**
     * 提现单号
     */
    private String withdrawalNo;
    /**
     * 是否需要授权
     */
    private Boolean needAuth = Boolean.FALSE;

    /**
     * 构建对象
     */
    public static OrderWithdrawalBo build(String withdrawalNo) {
        OrderWithdrawalBo result = new OrderWithdrawalBo();
        result.setWithdrawalNo(withdrawalNo);
        return result;
    }
}
